package com.ruoyi.project.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 零件信息对象 partst_info
 * 
 * @author ruoyi
 * @date 2022-08-27
 */
public class PartstInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String projectNo;

    /** 零件编号 */
    @Excel(name = "零件编号")
    private String partsNo;

    /** 零件名称 */
    @Excel(name = "零件名称")
    private String partsName;

    /** 规格 */
    @Excel(name = "规格")
    private String specifications;

    /** 材质 */
    @Excel(name = "材质")
    private String texture;

    /** 长度（mm） */
    @Excel(name = "长度", readConverterExp = "m=m")
    private Long length;

    /** 数量 */
    @Excel(name = "数量")
    private String count;

    /** 单毛重量 */
    @Excel(name = "单毛重量")
    private Long grossWeight;

    /** 单净重量 */
    @Excel(name = "单净重量")
    private Long netWeight;

    /** 备注 */
    @Excel(name = "备注")
    private String comment;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProjectNo(String projectNo) 
    {
        this.projectNo = projectNo;
    }

    public String getProjectNo() 
    {
        return projectNo;
    }
    public void setPartsNo(String partsNo) 
    {
        this.partsNo = partsNo;
    }

    public String getPartsNo() 
    {
        return partsNo;
    }
    public void setPartsName(String partsName) 
    {
        this.partsName = partsName;
    }

    public String getPartsName() 
    {
        return partsName;
    }
    public void setSpecifications(String specifications) 
    {
        this.specifications = specifications;
    }

    public String getSpecifications() 
    {
        return specifications;
    }
    public void setTexture(String texture) 
    {
        this.texture = texture;
    }

    public String getTexture() 
    {
        return texture;
    }
    public void setLength(Long length) 
    {
        this.length = length;
    }

    public Long getLength() 
    {
        return length;
    }
    public void setCount(String count) 
    {
        this.count = count;
    }

    public String getCount() 
    {
        return count;
    }
    public void setGrossWeight(Long grossWeight) 
    {
        this.grossWeight = grossWeight;
    }

    public Long getGrossWeight() 
    {
        return grossWeight;
    }
    public void setNetWeight(Long netWeight) 
    {
        this.netWeight = netWeight;
    }

    public Long getNetWeight() 
    {
        return netWeight;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectNo", getProjectNo())
            .append("partsNo", getPartsNo())
            .append("partsName", getPartsName())
            .append("specifications", getSpecifications())
            .append("texture", getTexture())
            .append("length", getLength())
            .append("count", getCount())
            .append("grossWeight", getGrossWeight())
            .append("netWeight", getNetWeight())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("comment", getComment())
            .toString();
    }
}
